package io.mybatis.example.springboot.model;

import io.mybatis.provider.Entity;
import org.apache.ibatis.type.JdbcType;

import lombok.Getter;
import lombok.Setter;


/**
 * sys_role_menu - 角色和菜单关联表
 *
 * @author mkj
 */
@Getter
@Setter
@Entity.Table("sys_role_menu" remark = "角色和菜单关联表", autoResultMap = true)
public class SysRoleMenuDO {
  @Entity.Column(value = "role_id", id = true, remark = "角色ID", updatable = false, insertable = false)
  private Long roleId;

  @Entity.Column(value = "menu_id", id = true, remark = "菜单ID", updatable = false, insertable = false)
  private Long menuId;

}
